//
//  XJYNetApiClient.h
//  高仿萝卜书摘
//
//  Created by 谢俊逸 on 2016/11/27.
//  Copyright © 2016年 谢俊逸. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface XJYNetApiClient : NSObject


+ (XJYNetApiClient *)shareXJYNetClient;
/**
 注册
 @param userInfo @{@"name":@"",@"password":@""}
 */
- (void)registerUser:(NSDictionary *)userInfo;



/**
 登陆

 @param userInfo @{@"name":@"",@"password":@""}
 */
- (void)loginWithLoginPath:(NSString*)path Params:(NSDictionary *)params andBlock:(void (^)(id data, NSError *error))block;

/**
 setup AVOS
 */
- (void)setupAVOSWithAppId:(NSString *)appId clientKey:(NSString *)clientKey;

/**
 setup Third Party Login
 */
- (void)setupThirdPartyLogin;

/**
 weixin login
 */
- (void)weixinLogin;

/**
 weibo login
 */
- (void)weiboLogin;

/**
 qq login
 */
- (void)qqLogin;
@end
